package sskj.regulatory.domain.interactor

import io.armcha.ribble.domain.repository.SiteVideoRepository
import io.reactivex.Flowable
import sskj.regulatory.di.scope.PerActivity
import sskj.regulatory.domain.entity.sitevideo.Site
import sskj.regulatory.domain.entity.sitevideo.SiteVideo
import javax.inject.Inject


@PerActivity
class SiteVideoInteractor @Inject constructor(private val siteVideoRepository: SiteVideoRepository) {

    fun siteVideoList(pageCount: Int = 1, page: Int = 10): Flowable<List<Site>> {
        return siteVideoRepository.getSiteVideoList(pageCount, page)
    }
}